Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Introduce connect traces #624

Merged
merged 2 commits into from
Apr 25, 2023

Conversation

Kavindu-Dodan
Copy link
Contributor

This PR

Partially address issue #620

Introduce connect interceptor[1] to add distributed tracing support for flagd.

With interceptor and sdk tracing, we can get out of the box distributed tracing. Consider following screens,

image

image

note - follow up pr is ready at https://github.com/open-feature/go-sdk-contrib

[1] - https://connect.build/docs/go/observability/

@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Merging #624 (962b8e1) into main (2dd59f8) will increase coverage by 0.08%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##             main     #624      +/-   ##
==========================================
+ Coverage   72.31%   72.39%   +0.08%     
==========================================
  Files          24       24              
  Lines        2373     2384      +11     
==========================================
+ Hits         1716     1726      +10     
- Misses        591      592       +1     
  Partials       66       66              
Impacted Files Coverage Δ
core/pkg/runtime/from_config.go 56.35% <0.00%> (-0.32%) ⬇️
...ore/pkg/service/flag-evaluation/connect_service.go 70.80% <100.00%> (ø)
core/pkg/telemetry/builder.go 75.29% <100.00%> (+3.29%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Kavindu-Dodan Kavindu-Dodan merged commit 28bac6a into open-feature:main Apr 25, 2023
@github-actions github-actions bot mentioned this pull request Apr 25, 2023
toddbaert pushed a commit that referenced this pull request May 4, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>flagd: 0.5.3</summary>

##
[0.5.3](flagd/v0.5.2...flagd/v0.5.3)
(2023-05-04)


### 🐛 Bug Fixes

* **deps:** update module github.com/open-feature/flagd/core to v0.5.2
([#613](#613))
([218f435](218f435))
* **deps:** update module github.com/spf13/cobra to v1.7.0
([#587](#587))
([12b3477](12b3477))


### ✨ New Features

* Introduce connect traces
([#624](#624))
([28bac6a](28bac6a))
</details>

<details><summary>flagd-proxy: 0.2.3</summary>

##
[0.2.3](flagd-proxy/v0.2.2...flagd-proxy/v0.2.3)
(2023-05-04)


### 🐛 Bug Fixes

* **deps:** update module github.com/open-feature/flagd/core to v0.5.2
([#613](#613))
([218f435](218f435))
* **deps:** update module github.com/spf13/cobra to v1.7.0
([#587](#587))
([12b3477](12b3477))


### ✨ New Features

* Introduce connect traces
([#624](#624))
([28bac6a](28bac6a))
</details>

<details><summary>core: 0.5.3</summary>

##
[0.5.3](core/v0.5.2...core/v0.5.3)
(2023-05-04)


### 🐛 Bug Fixes

* **deps:** update module github.com/bufbuild/connect-go to v1.6.0
([#585](#585))
([8f2f467](8f2f467))
* **deps:** update module github.com/bufbuild/connect-go to v1.7.0
([#625](#625))
([1b24fc9](1b24fc9))
* **deps:** update module github.com/open-feature/open-feature-operator
to v0.2.34 ([#604](#604))
([3e6a84b](3e6a84b))
* **deps:** update module github.com/prometheus/client_golang to v1.15.0
([#608](#608))
([0597a8f](0597a8f))
* **deps:** update module github.com/rs/cors to v1.9.0
([#609](#609))
([97066c1](97066c1))
* **deps:** update module github.com/rs/xid to v1.5.0
([#614](#614))
([e3dfbc6](e3dfbc6))
* **deps:** update module golang.org/x/crypto to v0.8.0
([#595](#595))
([36016d7](36016d7))


### ✨ New Features

* Introduce connect traces
([#624](#624))
([28bac6a](28bac6a))


### 🧹 Chore

* add instructions for windows and fix failing unit tests
([#632](#632))
([6999d67](6999d67))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants